{include file="common/header.html"}

</head>

<body id="nv_member"  >
<div id="wp" class="wp"> 
	<div class="contentmanage">
        <div class="tableContent">
            <div class="content">
                <div class="cLineB">
                    <h4 class="left">成交记录管理</h4>
	                <a href="admin.php?m=deal&a=add" class="right btnGrayS vm">添加成交记录</a>
                    <div class="clr"></div> 
                </div>
                <div class="cLineB">
                    <form method="get" action="admin.php">
                        <input type="hidden" name="m" value="deal">
                        <input class="px" id="name" name="name" placeholder="请输入姓名" value="{$smarty.get.name}">
                        <input class="px" id="phone" name="phone" placeholder="请输入手机号码" value="{$smarty.get.phone}">
                        <input type="submit" value="搜索" id="msgSearchBtn" href="" class="btnGrayS" title="搜索">
                    </form>
                </div>
                <div class="msgWrap">
                    <table class="ListProduct" border="0" cellspacing="0" cellpadding="0" width="100%">
                        <thead>
                            <tr>
                                <th>ID</th>
                                <th>经纪人</th>
                                <th>姓名</th>
                                <th>手机</th>
                                <th>总金额</th>
                                <th>成交时间</th>
                                <th>备注</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>           
						{foreach item=t from=$list}
						<tr>
						    <td align="center">{$t.id}</td>
						    <td align="center">{$t.broker_name}</td>
						    <td align="center">{$t.customer_name}</td>
						    <td align="center">{$t.customer_phone}</td>
						    <td align="center">{$t.amount}万</td>
						    <td align="center">{$t.deal_date}</td>
						    <td align="center">{$t.remark}</td>
						    <td align="center">
						    	<a href="admin.php?m=deal&a=add&id={$t.id}" class="btnGrayS">编辑</a>
							</td>
						</tr>
						{/foreach}
						{if $pagelist}
						<tr>
						<td colspan="8">{$pagelist}</td>
						</tr>
						{/if}
                        
                     </tbody>
                    </table>
                </div>
                <div class="cLine">
                    <div class="pageNavigator right">
                        <div class="pages"></div>
                    </div>
                    <div class="clr"></div>
                </div>
            </div>
            <div class="clr"></div>
        </div>
    </div>
</div>
<!--底部-->


 </body></html>